code: function isComment (token) {
    return token != null && (token.type === 'Block' || token.type === 'Line' || token.type === 'Shebang' || token.type.endsWith('Comment'))
  }
docs: Check whether the given token is a comment.
  @param {Token} token The token to check.
  @returns {boolean} `true` if the token is a comment.