You could try something like this...
Create a program named Comment.prg:
LPARAMETERS tl_Comment
MOUSE CLICK RIGHT
IF tl_Comment
KEYBOARD "M"
ELSE
KEYBOARD "N"
ENDIF
Then, issue:
ON KEY LABEL ALT-C DO Comment.prg WITH .T.
ON KEY LABEL ALT-U DO Comment.prg WITH .F.
>That's reasonable, though it would be nice to have alt-c toggle commenting for a block of text.
>
>>I don't know if there is any shorter way, but I use the menu key on my keyboard (bottom-right, between Windows key and Control key) to bring up the right-click menu, then press "m" to comment or "n" to un-comment.
>>
>>>What is the keypress for commenting a selected block of code? I am tired of right-click, then selecting comment.