commenting multiple lines of code

Is there a way to comment out multiple lines of code in IGOR? Similar to the right click comment all in MATLAB?
THere isn't a keyboard shortcut and you can't do multiline comments a la c:

/*
comment
*/

but you can select the lines you want to comment and Edit->Commentize
andyfaff wrote:
...but you can select the lines you want to comment and Edit->Commentize


... and on the Mac you can map the Commentize / Decommentize commands directly to your preferred keystrokes through the Keyboard Preference pane.

EDIT: See the posting at this link ... http://www.igorexchange.com/node/2543

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville

In reply to by ysspatil

Great tip, thanks!  Note that "Alt+e, o" simply opens the edit menu and selects "Commentize".  So it's not necessary to memorize the shortcut as long as you know where to find it.

In Igor 8, cmd-/ or ctrl-/ will commentize selected lines, and cmd-\ or ctrl-\ decommentizes. That would be cmd on Mac, ctrl on Windows.

The closest to multiline comments is surrounding the code with

#if 0

ignored coded
#endif

but I would stay away from it as it makes messy code.