Work around the lack of quote type differentiation in Ripper once more

This change makes one more end-to-end test pass.
Clear current comment accumulator when scope ends