It's interesting that it's hard to explain, because the fingers will play the chord by themselves and I need to stop and think to know what I am actually typing.
C-x r k to cut a rectangle, and C-x r t to add one filled with, for example, the comment symbol:
(C-space)this
to comment
C-x r t #
#this
#to comment