The most accurate statement comparing cell membranes and cell walls is:
d. Cell membranes function mostly as selectively permeable gatekeepers while cell walls function mainly as support systems.
This statement accurately reflects the roles of both structures. Cell membranes control the entry and exit of substances in and out of the cell, while cell walls provide structure and support, particularly in plant cells.