I'm back, and it's proven!: there is no way for me to remember the xquery complex full comment syntax for more than one month. Solution. put comments into a separate file. OK.