This makes finding the issue really hard and time-consuming!
It doesn’t solve it completely, nor for every one, but a way to semi-work around this on 64-bit platforms is to use the VSC add-on editor. It is context sensitive (sometimes annoying so, even while you’re in the middle of working).
In general I have often had error messages about invalid config after I have changed something. When you only change 5 lines you know where to look. But when you add an input_select, add an automation or two in different files, and maybe a script, then it happens that one little typo create an error that leaves no hint about which file that breaks the perser.
it would help a lot if the config parser was better at pointing at file this, line that. It cannot be 100% accurate but it can be better than it is now