How to delete preferences in QuarkXPress

When QuarkXPress behaves erratic or crashes, in most cases corrupt preferences are the cause. Deleting preferences will fix that. Just, where do you find preferences for QuarkXPress on MacOS / OS X and Windows? See here.