docs: def evaluate_inline(self, groups):
          """Evaluate inline comments on their own lines."""
  
          # Consecutive lines with only comments with same leading whitespace
          # will be captured as a single block.
          if self.lines:
              if (
                  self.group_comments and
                  self.line_num == self.prev_line + 1 and
                  groups['leading_space'] == self.leading
              ):
                  self.line_comments[-1][0] += '\n' + groups['line'][2:].replace('\\\n', '')
              else:
                  self.line_comments.append(
                      [groups['line'][2:].replace('\\\n', ''), self.line_num, self.current_encoding]
                  )
              self.leading = groups['leading_space']
              self.prev_line = self.line_num