Comments
There are two methods to add a comment to Lua code.
- single line comment
- The single line comment is started with “--” and terminates at the end of the line.
- multi line comment
- The multi line comment is started with “--[[” and terminates with “]]”.
-- This is a single line comment --[[ This is a multi line comment]]