Ok, it may the smartQuotes thing, not sure why it breaks, but try to remove that section and try again. There's now a Configuration Manager (File > Configuration Manager...) where you can manage such configs via a GUI (which in turn will write back those configs into your CONFIG page, but in a slightly adjusted format).
Edit: Ah I just realized why this breaks in your specific (edge case) config, have to think how to avoid it. But advice remains the same: remove that smartQuotes section from that block and then reapply it the Configuration Manager way.