Comments
Line comments in Zynx source files.
The compiler accepts line comments.
// A line comment runs to the end of the line.
fn main() {
// Comments are whitespace to the parser.
}
Line comments are allowed anywhere whitespace is allowed. The Tree-sitter
grammar recognizes block comments too, but the current compiler lexer does not
accept /* ... */ yet.
Warning
Do not use block comments in source that must compile with the current compiler. Editor highlighting may accept
/* ... */because Tree-sitter already recognizes it, but the current compiler rejects it.