Currently this package parses each line of a silent //-style comment as a separate Comment object. In practice, users usually think of comments on adjacent lines as part of a single block, so it would be useful if this parser represented them as a single comment object. This would make downstream processing like documentation generation or stylelint/stylelint#4886 easier as well.
Note: Dart Sass also internally represents adjacent (block-level) silent comment lines as a single object, so you can look to its parsing logic for inspiration.
Currently this package parses each line of a silent
//-style comment as a separateCommentobject. In practice, users usually think of comments on adjacent lines as part of a single block, so it would be useful if this parser represented them as a single comment object. This would make downstream processing like documentation generation or stylelint/stylelint#4886 easier as well.Note: Dart Sass also internally represents adjacent (block-level) silent comment lines as a single object, so you can look to its parsing logic for inspiration.