As documented for Scite at
http://www.scintilla.org/SciTEDoc.html this can
be easily done by setting "fold.hypertext.comment" to 1. For Npp this would
be done in ScintillaEditView.cpp .
--- PATCH
diff U3 PowerEditor/src/ScitillaComponent/ScintillaEditView.orig.cpp PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp
--- PowerEditor/src/ScitillaComponent/ScintillaEditView.orig.cpp Fri Nov 27 20:00:42 2009
+++ PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp Sat Dec 12 12:28:04 2009
@@ -201,6 +201,7 @@
execute(SCI_SETPROPERTY, reinterpret_cast("fold.html"), reinterpret_cast("1"));
execute(SCI_SETPROPERTY, reinterpret_cast("fold.comment"), reinterpret_cast("1"));
execute(SCI_SETPROPERTY, reinterpret_cast("fold.preprocessor"), reinterpret_cast("1"));
+ execute(SCI_SETPROPERTY, reinterpret_cast("fold.hypertext.comment"), reinterpret_cast("1"));
execute(SCI_SETFOLDFLAGS, 16);
execute(SCI_SETSCROLLWIDTHTRACKING, true);
execute(SCI_SETSCROLLWIDTH, 1); //default empty document: override default width of 2000