04-10-2018, 09:54 AM
The // comment was introduced in C99 and is permitted by the MISRA guidelines if the project is using C99. If the project is using C90 the use of // will violate rule 1.2 "Language extensions should not be used".
Posted by and on behalf of the MISRA C Working Group