You can create statecharts as behavioral documentation only and without generating code for them.
To create a statechart for documentation only: