Why is this an issue?

For consistency and to more easily comment-out code in editors, line comments (// ...) should be preferred over block comments (/* ... */).

How to fix it

Code examples

Replace /* ... */ comments by // comments.

Noncompliant code example

/*
  These are my comments:
  blabla
  ...
*/

Compliant solution

// These are my comments:
// blabla
// ...

Resources

Articles & blog posts