code: function isCommentAtParentEnd(token, nodeType) {
              const parent = getParentNodeOfToken(token);
  
              return parent && isParentNodeType(parent, nodeType) &&
                      parent.loc.end.line - token.loc.end.line === 1;
          }
docs: Returns whether or not comments are at the parent end or not.
  @param {token} token The Comment token.
  @param {string} nodeType The parent type to check against.
  @returns {boolean} True if the comment is at parent end.