I've concluded after more than a dozen years, Flats are mostly a function of luck.
Use good tires, properly inflate them. Avoid hazards when possible, cross your fingers.
As far as wide vs. thin, Ride what you like whether it's for speed or comfort. You will get flats no matter what eventually.