I first noticed this with Cmd-/
occasionally refusing to work for comment-uncomment lines of code. But now (having just gone to XCode 4.1, although that may not be related) it's happened with Cmd-B
to build as well.
I can't figure out what I'm doing to cause this, or if there's any pattern to when it happens.