If I downgrade from a site plan to a free plan, what will happen to my custom code?

There is a clarification from Webflow Staff on this thread:

I guess the custom code will still be there but won’t have any effect as long as you stay on the free plan. However, this is just my assumption. Never tried it myself. You may want to contact Webflow support directly for more information.