IDE hide block of code

I’m using netbeans (or rather JME3 sdk version of netbeans). Is there a way to hide a block of code and not simply an entire method? In particular I mean say…

if(condition1)
{

}
else if(condition2)
{

}
else if…

and so on. I want to hide condition 2’s code block and not the entire method. Any easy way in netbeans?

http://wiki.netbeans.org/FaqCustomCodeFolds

Oh thanks thats perfect