Comments

Syntax

comment
CM_ "<Comments>";

Multi-line Comments

block comment
CM_ "(*  // multi-line comments  // will inhibit parsing between delimiters*)";

Scoped Comments

Comments are applied globally, or at the document level, by default. By specifying a scope level after the CM_ keyword, however, the comment may be scoped to a specific Node, Message, or even an individual Signal. Examples are below.

Node
CM_ BU_ Vector__XXX "These are comments attributed only to the Vector__XXX node.";
Node
CM_ BU_ Vector__XXX "(*  This is a multi-line comment (aka _block_ comment),   also scoped to the Vector__XXX node. Comment blocks  are really handy, once you know how to use them :)*)";
Message
CM_ BO_ <CAN-ID> "<Comments>";
Signal
CM_ SG_ <CAN-ID> <SignalName> "<Comments>";