inside for loop body, stop the current iteration of loop and continue to the next one.
for
cat file.txt | for $line { if $line == "" { continue } print $line # process line here }
break