not a useful snippet, here's just a JS language file for Notepad++.
could be improved, the main interest is being able to fold text ( /* or //@ starts a a block of text and */ or //- closes it )
how to install :
http://notepad-plus.sourceforge.net/uk/download.php
https://stash.reaper.fm/oldsb/814716/...nguageFile.txt