(one of the readline features i rediscover every three months or so and promptly forget)
$if lisp set comment-begin ; M-;: insert-comment $endif