lua block comment code example

Example 1: block commenting lua

--[[ The comment starts like this

	and ends like this --]]

Example 2: Lua how to comment

-- One line comment

--[[ Multiple 
     line
	 comment --]]

Example 3: lua comments

-- Inline Comments
--[[ text ]]-- Block Comments

Example 4: 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")
--]]

Tags:

Lua Example