On the other hand, if this feels like too much code for such an edge case, I'd be OK with something simpler like throwing the comment away if it's too large.

Just as long as party_foul doesn't raise an unhandled exception.