Consider the scenario below:

You are working in Eclipse and want to comment multiple lines. Simple select them. Now hold CTRL key and press '/' key. All the selected lines will be commented (starting with //). I line which already as // against it will have another // with it.

Java Code:
//// int a=10;
Do the same when you want to uncomment.