Comments may be used in two places in a script:
1. An overall comment – Script Description – that is entered at the top of the script via the Script-Advanced tab of the script editor.
2. Comments for each Search/Replace string that can be entered by clicking on the Comment button in the Script-Search/Replace tab.
The Comment dialog is also used to control whether or not a search/replace is repeated. See Scripts Repeat Action for more information.
Search/Replace String Comment Dialog
See Format of Script Files for more information.