In clojure, you see something similar at the bottom of files:
(comment
(def some-state (create-state))
(some-fn [1 2 3])
(do-something some-state)
)
The compiler ignores the block, but in a REPL enabled editor, you can evaluate the forms to possibly view current state, or run functions that test behaviors or probe runtime state.