Comment nodes are discarded from a merge, for no apparent reason. Fixes #5438.