A keyboard shortcut to comment/uncomment out a piece of code is common in other programming IDE\'s for languages like Java, .Net. I find it a very useful technique when expe
Here is code for your KeyEventTranslations.tr
file that will comment out code. I am still working on the other half.
Item[KeyEvent["/", Modifiers -> {Command}],
FrontEndExecute[{
NotebookApply[FrontEnd`InputNotebook[],
"(*\[SelectionPlaceholder]*)"
]
}]
],
This binds it to Alt+/ as it is in Mathematica 8.