Sometimes, I need to comment out a whole file. Normally, I'd just wrap the class in /* */, but that doesn't work if there's already existing comments inside the class:

/*
class foo {

    /**
     * Great documentation - but this breaks my 
     * whole-file-comment!
     */
    public void dooFoo() {
    }

}
*/

Is there any way to come around this? Preferably without inserting //-comments at every line.

Edit
Report