Comment blocks of text

To comment or uncomment several lines of text, highlight the lines, and use M-; to comment or uncomment all of the lines. Emacs should automatically use the right comment character for the mode you are using.

Here is a simple example:

comment-blocks.gif