The Rem statement is used for adding comments (or remarks) that are not executed by MaxBasic. As an abbreviation, the single quote mark can be used instead of the keyword "Rem". A space must follow the word Rem. All text following that, up to the end of the line, is treated as a comment and ignored by MaxBasic.
Syntax
Rem comment
or
' comment
Comment/ Uncomment text shortcuts
To add comments to MaxBasic Code:
Ctrl + ' to comment the entire line.
Ctrl + Shift + ' to uncomment the entire line.