The following code:
(comment (let [[a b] [1 2]] (+ a b)))
When compiled produces Lua code that is not syntactically valid:
--[[ (let [[a b] [1 2]] (+ a b)) ]] return nil
comment should check if its body contains the delimiter, and use [=[ syntax ]=] instead.
This even breaks with strings:
-- (comment "]]") --[[ "]]" ]] return nil