If the end line is comments, the modify-var option will have no effect.