I don't really recommend that practice because, especially since you're using the command in the while loop, it will slow AutoCAD down.
Plus, if you don't set your object snap off, that point might snap to another point if there are other objects nearby.
If you still insist, then you can insert the following lines right after your command line:
(vlax-curve-GetStartPoint (entlast))
(vlax-curve-GetEndPoint (entlast))
Plus, to append to a list, I would do:
(setq pts (cons (list startpt endpt) pts))
And at the end of your while loop, do:
(setq pts (reverse pts))