The most accurate statement comparing cell membranes and cell walls is:
"Cell membranes function mostly as selectively permeable gatekeepers while cell walls function mainly as support systems."
This statement correctly describes the roles of cell membranes and cell walls. Cell membranes are responsible for regulating the entry and exit of substances in and out of the cell, whereas cell walls provide structural support and protection, particularly in plant cells.