/
Comments

Comments

In Lua, the -- characters indicate that the rest of the line is a comment:

-- this is a comment

You can create a multi-line comment, using --[[]]:

--[[ this comment is a multi-line comment ]]

If your comment contains square brackets, you can use --[==[]==]:

--[==[ my multiline text with [brackets] ]==]

 

Related content

Lua Strings
Lua Strings
More like this
Commenting
More like this
Strings
More like this
Block statements
Block statements
More like this
Trimming white space
Trimming white space
More like this
How can I make a multiline string?
How can I make a multiline string?
More like this