If the end line is comments, the modify-var option will have no effect.
Merge pull request #2031 from chenboxiang/master

Fix a bug: if the less file end line is comments, the lessc command option "modify-var" will have no effect.