To add or remove comments to a section of code:

Select the text to be enclosed with AppleScript comment tags.

Control-click in the selected area.

Choose Comment Tags.
■
If the selected text is not commented, comments will be added to it.
■
If the selected text was already commented, the comments will be removed.