The only solution that worked for me (Windows 11, VC Code 1.106.3, SQL) was manually creating the foldable section (highlight desired section Ctrl+K Ctrl+,) and removing it (Ctrl+K Ctrl+.).