docs: func commentify(doc string) string {
  	if len(doc) == 0 {
  		return ""
  	}
  
  	lines := strings.Split(doc, "\n")
  	out := make([]string, 0, len(lines))
  	for i := 0; i < len(lines); i++ {
  		line := lines[i]
  
  		if i > 0 && line == "" && lines[i-1] == "" {
  			continue
  		}
  		out = append(out, line)
  	}
  
  	if len(out) > 0 {
  		out[0] = "// " + out[0]
  		return strings.Join(out, "\n// ")
  	}
  	return ""
  }