For single html file, in VS 2022, you can click File > View in Browser (Ctrl + Shift + W) to preview it(or right-click the white space of this single html file > click View in Browser ).
How do I enable Vscode preview?
To do so, open VS Code settings. Search for “enable preview”. You'll see a Workbench › Editor: Enable Preview option that's certainly checked. Uncheck that to change your editor behavior.