Skip to content

Commit 72ac29e

Browse files
Documented comments
1 parent 1430900 commit 72ac29e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/user/quick-sql-grammar.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
4. [Settings](#settings)
4747
5. [Grammar](#grammar) -->
4848

49+
## Comments
50+
51+
A comment can appear between any keywords, parameters, or punctuation marks in a statement. You can include a comment in a statement in two ways:
52+
- Begin the comment with a slash and an asterisk (/*). Proceed with the text of the comment. This text can span multiple lines. End the comment with an asterisk and a slash (*/). The opening and terminating characters need not be separated from the text by a space or a line break.
53+
- Begin the comment with -- (two hyphens). Proceed with the text of the comment. This text cannot extend to a new line. End the comment with a line break.
54+
4955
## Datatypes
5056

5157
<!-- markdownlint-disable MD013 -->

0 commit comments

Comments
 (0)