lua comment code example
Example 1: how to comment multiple lines in lua
Comment one line -
-- stuff here
Comment multiple lines
--[[ stuff
here --]]
Example 2: block commenting lua
--[[ The comment starts like this
and ends like this --]]
Example 3: Lua how to comment
-- One line comment
--[[ Multiple
line
comment --]]
Example 4: lua comments
-- Inline Comments
--[[ text ]]-- Block Comments
Example 5: lua comments
-- print("An inline comment starts with --")
--[=====[
Multiline comments are enclosed in --[[double square brackets]]
and can be nested by placing = signs between the brackets
]=====]
---[[
print("Quickly toggle code block comments with a third - at the start")
--]]
Example 6: lua commenting
-- Your comment here