Thanks for the report. I guess the heuristic you would suggest is that no issue should be reported on lines without spaces? Although that wouldn’t work for your second example, which seems imminently split-able to me…
In the first example it would be lines where the content starts with http:// or https:// and then no spaces. Other url schemes could be included such as git+https://, ftp://, s3://, etc…
The second example is not splittable, since swagger would not be able to parse them, these are machine processed and not intended for humans.
If the line too long pattern could have an option to override for some comment lines based on a pattern then this would prove flexible enough that anyone with machine instructions embedded in comments would be able to silence the false positives.
If a long line is detected in a comment, but the content matches the patterns then the issue would be ignored. Since these should be infrequent it should have minimal performance impact on the rules processing.