wtaysom02/03/2020, 12:27 AM
--[=[ --[[ --]] --]=]
Edward de Jong / Beads Project02/03/2020, 6:34 AM
[ comment name [ ... ] comment name ]
Doug Moen02/03/2020, 10:33 PM
in Python or
in C. If you are using a smart editor designed for programming, then you already have high level commands for commenting or uncommenting a block of code using line comments. My preferred block comment syntax would use distinct start-comment and end-comment tokens. The syntax would be designed so that any syntactically valid block of code can be commented out, simply by wrapping the block of code in start- and end-comment tokens. Implementing this last requirement correctly is tricky, in the presence of nested comments, and I'm not sure if I've seen a language with block comments that works the way I want.