I don’t think it’s possible now in VS2010 / VS2008, but I’m sure that someone should have made or could come up with some workaround using the extensibility of VS2010 / VS2008.
The ability to collapse javascript / comment blocks in the script tag in the aspx file editor and in the javascript file editor (*. Js) is the same as we can do in any other editor (C #, vb, xml).
I just thought that if possible, by creating blocks #region, as in the C # editor.
source
share