(no title)
ThenAsNow | 3 years ago
This is not true. Once Tcl sees a valid comment, the rest of the line up to the newline is treated as a comment. An odd number of trailing backslashes suppress the newline for interpretation purposes. Within the comment you can use braces or whatever without affecting control flow.
Treblemaker|3 years ago
However, the parser is confused by unbalanced braces in comments.
Here's a classic case that turns up occasionally during development:
Sourcing a file with the above comment inside the proc will produce:tails4e|3 years ago