操作截图如下:File --> Settings --> Editor --> Color Scheme --> Language Defaults --> Comments
windows下的PyCharm设置注释字体的斜体
原文:https://www.cnblogs.com/chenmingjun/p/8545273.html