This section describes how how to use comments in Cypher®.
A comment begin with double slash (
//) and continue to the end of the line.
Comments do not execute, they are for humans to read.
MATCH (n) RETURN n //This is an end of line comment
MATCH (n) //This is a whole line comment RETURN n
MATCH (n) WHERE n.property = '//This is NOT a comment' RETURN n
Was this page helpful?