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.
Do the same when you want to uncomment.Code:
//// int a=10;