On macOS it's hidden away in the Library
folder:
~/Library/Application Support/Code/User/settings.json
To open the file from the VSCode menu go to:
Code > Preferences > Settings
Then click the 'open file' icon at the top right of the settings page.