comment-or-uncomment-region

comment-or-uncomment-region is an interactive compiled Lisp function in `newcomment.el'.


(comment-or-uncomment-region BEG END &optional ARG)

Call `comment-region', unless the region only consists of comments,
in which case call `uncomment-region'. If a prefix arg is given, it
is passed on to the respective function.