I have spent a of time creating clever, and not so clever, but always awkward and hard to understand, ways to add code or comments where CubeMX does not let you put them without the risk of having it vanish.One simple, general solution would be to le...