Hello,
The following query crashes (with a "Syntax Error"):
MATCH (n) return n LIMIT 1;
MATCH (n)
UNWIND range(0, 5) as x
// Return n
RETURN n
And when a newline character is added before the comment it does not crash anymore.
MATCH (n) return n LIMIT 1;
MATCH (n)
UNWIND range(0, 5) as x// Return n
RETURN n
The following code runs in the neo4j browser:
I thought you should know and fix it.
Good luck!