I like to mark first, because it is easier to wrestle just the top. I put a piece of screening under to hold the top in place when marking. But I quilt on an old fashioned board frame and don't baste. I think it depends on how you are quilting and what your space limitations are that determines the best way to mark your quilt. Many mark as they go to minimize erasing the lines.
Good luck on whatever method you use!