Programmers often add comments for various reasons, such as explaining code or temporarily disabling code.
Clojure has three ways to add comments or comment out a section.
The syntax is like a function:
(comment & body).
With this comment style, we can write multi-line comments or comment out multi-line code blocks.
;(semicolon) reader macro
This is used to comment out a single line.
Clojure ignores everything from the
; (semicolon) to the end of the line.
This is used to comment out a form.
For example, a corresponding pair of
The form can be nested.
The Reader “Macro characters” section, “Comment” and “Dispatch”
Clojure Style Guide