{{ if eq .from .to }} {{ .scratch.Set "comment" (printf ", line %d" .from) }} {{ else }} {{ if eq .from 0 }} {{ .scratch.Set "comment" (printf ", around line %d" .to) }} {{ else }} {{ .scratch.Set "comment" (printf ", lines %d through %d" .from .to) }} {{ end }} {{ end }}