There is a solution to this problem. It does not involve WinSCP. WinSCP is great software but for mounting remotes there is this solution:
https://www.nsoftware.com/sftpdrive
For the particular case where you will be doing a lot of editing on remote files and need shell integration this would be useful.
https://www.nsoftware.com/sftpdrive
For the particular case where you will be doing a lot of editing on remote files and need shell integration this would be useful.