Currently DBP is in a debug mode of sorts so a lot of libs and code are bundled to your exe.
As it gets closer to a final build there will be options to reduce the overall size.
It can be smaller if there is no 3d activation in your sample.
There is an expected overhead for using direct x and DBP anyway with regards your projects.
When you make a substantial demonstration or game using a lot of commands its not as troublesome.
In the DBP editor there are methods to make a small exe with an additional file that retains the data.
If there was any extra media in your final projects folder it might have been bundled with the final exe.
If the snippet of code is not as important to share the code then just bundle the source files instead of the exe.
if its DBC then see whats in your final build folder that can be removed.