fix: preserve comment placement for server derived reads (#18641)