 # All options are optional. Available options are:
 #
 # ~ filename (String): the filename, used in source maps and errors.
+# ~ comments (Boolean): set to `false` to disable comments.
 ###
 
 js2coffee.build = (source, options = {}) ->

  injectComments: (node, key) ->
    node[key] = @addCommentsToList(node.range, node[key])
    node

  addCommentsToList: (range, body) ->
    return body unless range?


  # Block comments
  Block: (node) ->
    [ "###", node.value, "###\n" ]

  ReturnStatement: (node) ->
    if node.argument
