Emacs: Comment, Uncomment

By Xah Lee. Date: . Last updated: .

to insert or delete programing language comment, do

Alt+x comment-lineCtrl+x Ctrl+;
toggle comment on current line
Alt+x comment-dwim
toggle on region. 〔see Emacs: Select Text (mark and region)

Emacs, Comment, Uncomment, Rectangle Edit