`parameter sweep` is a comment, so add an asterisk...
# xschem
s
parameter sweep
is a comment, so add an asterisk (
* parameter sweep
) before this line. If it is in the first line (as it is in ngspice example) it is a comment anyway.