support nested #= ... =# for #6128, as noted by @carlobaldassi