macrosince v0.0-927imported clojure.core/commentEdit
(comment & body)


Ignores all body forms (i.e. "commenting out"). Returns nil.

This is often used near the bottom of a file to hold expressions that test different functions during development. Specific expressions within the comment can then be selected and evaluated from some editors.

You can also use ; to "comment out" code until the end of a line.


(comment 123)
;;=> nil

  (foo 1 2 3)
  (bar "hello"))
;;=> nil

Inner forms must still be syntactically correct:

(comment [1 2 3]])
;; Error: Unmatched delimiter ]

(comment a : b)
;; Error: Invalid token :

Source docstring:
Ignores body, yields nil
Source code @ clojure:src/clj/clojure/core.clj
(defmacro comment
  {:added "1.0"}
  [& body])