> The function you want is > M-x comment-region > > To use it to uncomment pass the argument -1, as in > M-x -1 M-x comment-region Just for info, C-u M-x comment-region also uncomments, if you're saving keystrokes.