在MATLAB主菜单栏上File下选Preferences ,再选 Fonts 下的Colors,点一下color,再找到comments,修改comments后的颜色就可以了。
file > Preferences > Fonts > Colors 只能有一种颜色,所有注释的颜色为修改的颜色