New code folding works well for me, but I noticed a small glitch, when a line is commented out.
Code without line commented:

- code-folding1.png (2.46 KiB) Viewed 9599 times
Code with line commented:

- code-folding2.png (2.72 KiB) Viewed 9599 times
Result of folding:

- code-folding3.png (964 Bytes) Viewed 9599 times
The same goes with block comment on one line. Another example:
This one is OK

- code-folding4.png (906 Bytes) Viewed 9599 times
this one -- not so much:

- code-folding5.png (1.05 KiB) Viewed 9599 times
Sometimes code folding marks are slow to appear, so I have to switch highlighter off and on.
(Attachments went awry again

)
Edit: Reuploaded attachments