/*if (a) foo(); else */if (b) // FP bar(); /*else */if (c) // FP xyz();
In the above example rule S3973 reports wrong indentation, which is just because of the commented “else” before it.
I think, this should not be trated like whitespaces and hence not as indentation. At best the indentation check should include the non whitespace part of the comment to also reflect coments like this.
if (a) foo(); /* else */if (b) // FP bar();