1 打开Visual Assistant
2 在Advanced中找到Underlines,取消勾选"Underline spelling errors in comments and strings"