The current version of the VSCode Sonarlint plugin (v1.17.0) produces a false positive error. It detects the second line in the following comment wrongly as commented out code:
// Regarding $mode in recursive calls:
// * self is a must to have the fallback item itself included;
// * respect the original caller about whether to include variants or not;
// * others should be excluded as they'll be handled here in loops.