A quick fix is to go to Prettier Extension Settings (ctrl + shift + X) and in Prettier Extension Settings search for “Print Width” set it to 250 or anything that works for you.
1: Go to Extention Settings:

2: Change the value of Print Width to your liking.

To disable format code on save. Turn off the “Format On Save” and use Alt+Shift+F to format the code when ever you want.

You can visually check the setting here