Comment(p, s$)
s$ parameter.
Function p_Comment(p, s$)
DebugPrint(s$)
EndFunction
p = xml.CreateParser({Comment = p_Comment})
p:Parse([[
<!--I'm a comment-->
<app>Hollywood</app>
]])
p:Free()
The code above will print "I'm a comment".