[validate.py] checks lines end with ',' character.