It is not realy a bug as the code works fine even if any comment is placed at a wrong line but comments should make life easier.Steps done to generate a main.c with STM32CubeIDE 1.7.0:New STM32 projectselected a NUCLEO-F44rRE board and chose default...