Vscode keeps moving my commented lines on save

Viewed 94

Everytime I save my python project, it keeps moving my comments away from my flask routes by two lines.

I disabled prettier I disabled intelisense I also restarted vscode

But the issue still remains: enter image description here

enter image description here

1 Answers
  1. ctrl+p and type "setting.json".
  2. Find the line named "editor.formatOnSave", change "true" to "false"
Related