Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Sill <[email protected]>
  • Loading branch information
gem-neo4j and rsill-neo4j authored Feb 26, 2024
1 parent a692b70 commit e4fb7fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/ROOT/pages/syntax/comments.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
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 (`/&#42;`) and continues until the closing of the comment, which is done with an asterisk and a slash ('&#42;/'
)
A multi-line comment begins with a slash and asterisk (`/&#42;`) and continues until it ends with an asterisk and a slash ('&#42;/').
Comments do not execute, they are for humans to read.

Examples:
Expand All @@ -27,8 +26,8 @@ RETURN n
[source, cypher, indent=0]
----
MATCH (n) /* This is a multi line comment,
the comment is still going on this line as well
but we are closing it on this line */
the comment continues on this line
but it ends on this line. */
RETURN n
----

Expand Down

0 comments on commit e4fb7fa

Please sign in to comment.