Comments can be added to Basic Control Engine script code in the following manner:
All text between a single quotation mark and the end of the line is ignored:
MsgBox "Hello" 'Displays a message box.
The REM statement causes the compiler to ignore the entire line:
REM This is a comment.
The Basic Control Engine supports C-style multiline comment blocks /*...*/, as shown in the following example:
MsgBox "Before comment"
/* This stuff is all commented
C-style comments can be nested.