The nitrifying and denitrifying bacteria would still grow but without the light you wouldn't have any coralline growth, which you wouldn't need in the sump anyways. As long as there is good water flow through the rock it will add to the biofiltration.