SAS has two different syntaxes for comments. * this is a comment ; /* this is a comment */ The emacs techniques for detecting comments for the autocomment function gets confused and does both simultaneously. We are aware of the problem. We haven't figured out how to do it correctly.