Have you tried just an empty sequence?
{() (: comment... :)}
I was wondering if it would be possible to either:
* Allow for an omit-comment option in HTML5 serializer* Allow for {(: Nothing but a comment :)} in xquery code.
I often have long pieces of HTML to output and clients don't want me to output them with the result. However, I can't use {(::)}. I have been using useless code around my comments just to get around this issue:
{
let $t := '' return $t
(: The comment I can't leave without the bogus code:)
}
Thanks!
--