当调用转换if if switch 等上下文操作时,我的所有注释都将丢失。这可以预防吗?
e.g:
int a = 1;
int i;
if (a == 1)
//comment I want to keep 1
i = 1;
else if (a == 2)
//comment I want to keep 2
i = 2;
else
i = 3;