Bring a large pot of water to a boil and add salt. Cook the spaghetti according to the package instructions until al dente. Before draining, reserve half a cup of pasta water. Drain the pasta without rinsing it.
Wash the lemon and finely grate its yellow outer zest, avoiding the bitter white pith. Squeeze the lemon juice into a small bowl and remove any seeds. Mince the garlic and grate the Parmesan cheese so everything is ready to add.
Heat the butter and olive oil in a large skillet over medium-low heat. Add the minced garlic and cook for about 30–60 seconds, stirring continuously until fragrant. Do not allow the garlic to brown, as burnt garlic can overpower the fresh lemon flavor.
Pour the soy sauce into the skillet and stir it into the garlic butter. Add the black pepper and optional red pepper flakes. Allow the mixture to warm for a few seconds so the flavors combine.
Reduce the heat to low and stir in the lemon juice and zest. Add two or three tablespoons of reserved pasta water to help create a light sauce. Avoid cooking the lemon juice for too long, as its fresh flavor is best preserved with gentle heating.
Add the cooked spaghetti to the skillet. Toss thoroughly with tongs so the lemon, garlic, butter, and soy sauce coat the strands evenly. Add more pasta water a little at a time if the mixture looks dry.
Turn the heat to very low or remove the skillet from the heat. Gradually sprinkle in the grated Parmesan while tossing continuously. The cheese and starchy pasta water will help create a glossy coating. If necessary, add another small splash of pasta water.
Add the chopped parsley and taste the pasta before adding any extra salt. Divide it among serving plates and finish with additional Parmesan, freshly cracked black pepper, and a small squeeze of lemon if desired. Serve immediately for the best flavor and texture.