Remove unnecessary characters from gendata
[BUG #8053] Add comments to DataGenerator