In the case of hydrogen storage, it is essential that the materials have high densities to achieve high volumetric capacities. But it is also need to have low densities to achieve high mass capacities.
All is about optimisation. We already proved this for methane storage, see Fig. 10 and 11 of the attached Energy & Fuel paper, and Fig. 8 of the attached Carbon paper.
In the case of hydrogen, it is the same. You first have to increase as much as possible the amount of relevant pores (i.e., getting the most suitable porosity), and then see how to pack your grains of porous carbons in an as compact way as possible.
Playing with the concentration of intial reactant may also help.
For example - For example for the synthesis of carbon aerogel derived from Resorcinal-Formaldehyde(RF). The ratio of R:F and R:catalyst mainly decides the density and hence porosity od carbon aerogel.