Mattress comfort layers primarily serve to enhance the comfort and support of the mattress, ensuring a restful night's sleep.