The following should be highlighitng like a comment block in Lua:
--[=[ This is a comment block. This is a comment block. This is a comment block. ]=]
However only the opening line --[=[ is highlight as such. The parser does seem to recover well with any subsequent code, at least.
This is reproducible with the upstream CodeMirror Lua stream parser.