I don't see a proper place to do this in the preferences. However, modifying the .arduinoIDE/setting.json file to include `"editor.lineNumbers": "off",` seems to work.

```json
{
 "editor.lineNumbers": "off",
 "editor.fontSize": 14,
 ...
}
```