Toothpaste can help to remove permanent marker stains on quartz countertops. Apply the toothpaste to the stain and leave it for 10 minutes before wiping it away with a damp cloth. Cover the area with lemon juice and table salt — leave for a few minutes before wiping away.
Otherwise, toothpaste isn’t recommended as a general cleaner for quartz. Just your teeth!