code: function getAdjacentCommentTokensFromCursor(cursor) {
      const tokens = [];
      let currentToken = cursor.getOneToken();
  
      while (currentToken && astUtils.isCommentToken(currentToken)) {
          tokens.push(currentToken);
          currentToken = cursor.getOneToken();
      }
  
      return tokens;
  }
docs: Gets comment tokens that are adjacent to the current cursor position.
  @param {Cursor} cursor - A cursor instance.
  @returns {Array} An array of comment tokens adjacent to the current cursor position.
  @private