Comments
Writing comments in your scripts to explain how they work can save you time and frustration when you later need to modify the script. The apostrophe character ( ' ) signals the start of a comment. Scripter ignores all text following the apostrophe up to the end of the line. Comments can be placed on their own line, or they may be placed at the end of a line. For example:
SurferApp.GridData "demogrid.dat" ' This creates a grid file from demogrid.dat
In addition, you can use the REM statement to add a remark in the script. However, REM statements can only be used at the beginning of a line.