I would expect a comment if `appendExportStatement()` did *not* modify `statements`. So the comment is confusing.