REM, !, #

REM, !, and # are used to define remarks or comments.

Syntax:

REM (text)
! (text)
(valid zpl line) # (text)
 

Discussion:

The exclamation symbol may also be used to indicate a remark. Both the REM command and the "!" symbol are only recognized as remark indicators if they appear at the very beginning of the line. The # symbol may be used anywhere on the line, but will only be interpreted as the beginning of a comment if the # is not inside a string. Everything after the # symbol is ignored.

Example:

REM any text can be placed after the REM command.
! any text can also be placed
! after the exclamation symbol.
x = 5 # this syntax allows comments to be placed on the same line as a command.

Next: