How do I create a surface from a closed non planar spline curve in Solidworks?

After remove those 2 points, add a sketch of a point in a new plan and sweep your sketch to this point.
-
Step 1:
your curve sweeped to a point
-
Step 2:
a beautiful curve sweeped to a point