settings: Properly match } and # in include statements