This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
At the moment (IFAIK) custom code folding can be achieved using <editor-fold/> tags but this is too complicated. Why not implement something much simpler g.e. triple slash /// SOME FOLDING LABEL starts a custome folding and another triple slash /// ends it.