Comments
Two ways to leave source out of the output: // for a line, @ignore for a block.
#// at the start of a line
A line whose first non-whitespace characters are // is removed before anything else reads the source. It leaves nothing behind — no paragraph, no blank block.
scene{
// the fit degree here is deliberate — see the note below
A straight line captures the trend.
}Only at the start of a line. // following any other content is ordinary text: Real text. // trailing compiles to a paragraph reading Real text. // trailing.
#@ignore for a block
@ignore takes a body and drops all of it — the way to comment out a construct rather than a line.
@ignore{
curve(expression: x^3; colour: grey)
}#Comments inside lines{}
Inside a lines chunk the body is literal code, so // is interpreted by the pane's language rather than by Chalk. A JavaScript comment reaches the rendered pane unchanged.