code: function (token) {
              var inline = false;
              if (token) {
                  if (token.type === 'LineComment') {
                      inline = true;
                  } else if (token.type === 'BlockComment') {
                      inline = (token.value.indexOf('\n') === -1);
                  }
              }
              return inline;
          }
docs: check if a token is comment in one line
  
  @param {Object} token - the token to check
  @returns {boolean}