Begin by preheating your oven to 350°F (175°C). Prepare a 9x5 inch loaf pan by greasing it lightly with cooking spray or butter.
In a medium-sized mixing bowl, combine the grated zucchini with a pinch of salt. Let it rest for approximately 10 minutes to allow excess moisture to be drawn out.
Meanwhile, in a large mixing bowl, sift together the all-purpose flour, whole wheat flour, baking soda, baking powder, salt, and ground cinnamon. Whisk these dry ingredients until they are uniformly mixed.
In a separate bowl, combine the granulated sugar, brown sugar, vegetable oil, eggs, and vanilla extract. Whisk vigorously until the mixture is smooth and well blended.
After the zucchini has rested, gently squeeze it using a clean kitchen towel or your hands to eliminate any excess moisture. Fold the drained zucchini into the wet mixture until combined.
Gradually add the dry ingredients to the wet ingredients. Stir gently with a spatula or wooden spoon, mixing just until the dry ingredients are incorporated. Be cautious not to overmix to maintain a tender bread.
Gently fold in the semi-sweet chocolate chips and walnuts (if you choose to include them) until evenly distributed throughout the batter.
Pour the batter into the prepared loaf pan, smoothing the top with a spatula to ensure even baking.
Bake your delicious creation in the preheated oven for 50-60 minutes, or until a toothpick inserted in the center comes out clean with no additional batter attached.
Once baked, allow the bread to cool in the pan for about 10 minutes. Afterward, carefully transfer it to a wire rack to cool completely before slicing.
Notes
For an irresistible touch, serve warm with chocolate sauce or whipped cream. Dust with powdered sugar before serving.