function stripDirectiveComment(value) {
  return value.split(/\s-{2,}\s/u)[0]
}
Remove the ignored part from a given directive comment and trim it.
@param {string} value The comment text to strip.
@returns {string} The stripped text.