src/language-js/utils/index.js/hasFlowAnnotationComment
function hasFlowAnnotationComment(comments) {
  const firstComment = comments?.[0];
  return (
    isBlockComment(firstComment) && FLOW_ANNOTATION.test(firstComment.value)
  );
}