Klipper knows two “end of line” comments:
-
#
- the hash as commonly used in Python -
;
- the semicolon as commonly used in gcode
In addition:
- A blank / space as separator between the statement and the comment symbol is mandatory
- Block / Multi-line comments are not supported (AFAIK)