regex – How do I use the default & # 39; legalCommentPattern "with SonarQube

I need a final comment in my code. The probe continues to throw this error. Unlike the public version, our Sonar says there is a way around this …

Parameters
    legalCommentPattern 
        Pattern for text of trailing comments that are allowed.

    Default Value:
        ^//s*+(^s)++$

This seems to suggest that there is a way to add a comment to the EOL (what should I do), but playing in Regex pal I can't seem to understand.

How do I add a final comment that meets the default value? legalCommentPattern. Or how do I change the value to allow shorter comments online?