There's no setting to disable labels on a sankey. We can only do this using custom code.