Comments

This page describes how to use comments in Cypher®.

A single line comment begins with double slash (//) and continues to the end of the line. A multi-line comment begins with a slash and asterisk (/*) and continues until it ends with an asterisk and a slash ('*/'). Comments do not execute, they are for humans to read.

Examples:

MATCH (n) RETURN n //This is an end of line comment
MATCH (n)
//This is a whole line comment
RETURN n
MATCH (n) /* This is a multi line comment,
the comment continues on this line
but it ends on this line. */
RETURN n
MATCH (n) WHERE n.property = '//This is NOT a comment' RETURN n