-- Test comment handling
-- Single line comment
print("Test 1: single line comment passed")
--[[ Multi-line comment
This spans multiple lines
and should be ignored
]]
print("Test 2: multi-line comment passed")
--[[
Even with blank lines
inside
]]
print("Test 3: multi-line with blanks passed")
local x = 5 --[[ inline multi-line ]] + 3
print("Test 4: inline multi-line: " .. tostring(x == 8))
-- Nested brackets in comment shouldn't break anything
--[[ This has [brackets] inside ]]
print("Test 5: brackets in comment passed")
print("All comment tests passed!")